Skip to content

Conversation

himanshusinghs
Copy link
Collaborator

@himanshusinghs himanshusinghs commented Sep 3, 2025

Proposed changes

In the following PR we merged a bump to @mongosh/service-provider-node-driver but the bump came with an interface update to NodeDriverServiceProvider.close() (close does not support parameters anymore) so the usages in our code needed to be modified as well.

This PR does the same fixing the build problem on main.

Checklist

@Copilot Copilot AI review requested due to automatic review settings September 3, 2025 19:28
@himanshusinghs himanshusinghs requested a review from a team as a code owner September 3, 2025 19:28
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adapts the codebase to accommodate an API change in the @mongosh/service-provider-node-driver dependency where the close() method no longer accepts parameters.

  • Removes the boolean parameter from ServiceProvider.close() method call
  • Aligns with the updated interface in the upgraded dependency

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@himanshusinghs himanshusinghs added the no-title-validation Add this label to disable the title check for this PR. label Sep 3, 2025
@kmruiz
Copy link
Collaborator

kmruiz commented Sep 4, 2025

We might not need this for now, I've reverted the latest update in #513.

@himanshusinghs
Copy link
Collaborator Author

Closing this for now as we have reverted the package update on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Add this label to disable the title check for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants